#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
#include"Queue.h"
void teststack()
{
	Stack st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 99);
	printf("%d\n", StackTop(&st));
	printf("%d\n", StackSize(&st));
	StackDestroy(&st);
}
void testqueue()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	printf("%d %d %d ", QueueFront(&q), QueueBack(&q), QueueSize(&q));
	QueueDestroy(&q);


}

int main()
{
	teststack();
	//testqueue();
	return 0;
}